package logproc

import (
	. "starsine.cn/appTpl/cmn/defs"
	festrung "starsine.cn/appTpl/svclog/src/logproc/fe-strung"
	"starsine.cn/appTpl/svclog/src/logproc/logbuff"
	"starsine.cn/appTpl/svclog/src/logproc/logbuffmng"
	"starsine.cn/appTpl/svclog/src/logproc/strung"
)

var logProc *LogProc = nil

func Start(appCtxt *AppContext) {
	logbuffmng.Start(appCtxt)
	strung.Start()
	festrung.Start()

	logProc = CreateLogProc(appCtxt)
}

func GetLogBuff() *logbuff.LogBUff {
	return logProc.GetLogBuff()
}
